package cn.shuangliang.contract.model;

public class Contractitem {
    private Long id;

    private Long contrid;

    private Double weight;

    private Integer num;

    private Double notweight;

    private Integer notatnum;

    private Long pid;
    //额外的
    private String pname;

    public Contractitem(){}

    public Contractitem(Long contrid, Double weight, Integer num, Long pid) {
        this.contrid = contrid;
        this.weight = weight;
        this.num = num;
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }





    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getContrid() {
        return contrid;
    }

    public void setContrid(Long contrid) {
        this.contrid = contrid;
    }

    public Double getWeight() {
        return weight;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getNotweight() {
        return notweight;
    }

    public void setNotweight(Double notweight) {
        this.notweight = notweight;
    }

    public Integer getNotatnum() {
        return notatnum;
    }

    public void setNotatnum(Integer notatnum) {
        this.notatnum = notatnum;
    }
}